package com.zf.website.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.zf.generator.orm.hibernate.BaseEntity;

@Entity
public class User extends BaseEntity
{
        private String name;//姓名
        private Integer age;//年龄
        @Temporal(TemporalType.DATE)
        private Date birthday;//生日
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
		public Integer getAge() {
			return age;
		}
		public void setAge(Integer age) {
			this.age = age;
		}
		public Date getBirthday() {
			return birthday;
		}
		public void setBirthday(Date birthday) {
			this.birthday = birthday;
		}
        
      
}